-- GENERATED SPELL FOR [Hazzali Stinger] --


function spell0_5450(pUnit, Event) --@Venom Sting,n/a--
pUnit:FullCastSpellOnTarget(5416,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5450', 45000, 1)
end

function Sorts_5450(pUnit, Event)
local choix_sorts_5450 = math.random(0, 0)
if choix_sorts_5450 == 0 then
pUnit:RegisterEvent('spell0_5450', 1, 1)
end
end

function mob5450_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5450', math.random(1500, 3000), 1)
end

function mob5450_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5450_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5450_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5450, 1, 'mob5450_Action')
RegisterUnitEvent(5450, 2, 'mob5450_Leave')
RegisterUnitEvent(5450, 3, 'mob5450_Kill')
RegisterUnitEvent(5450, 4, 'mob5450_Die')
